# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=mxclient
pkgver=0_git20211002
pkgrel=1
_commitid="7d47bcf1df699c2a9ea9b333c3b980c546455a3b"
pkgdesc="minimalist client for sending mail direct to the recipient's MX"
url="https://github.com/richfelker/mxclient/"
arch="all"
license="MIT"
options="!check" # no tests
makedepends="bearssl-dev"
source="mxclient-$pkgver.tar.gz::https://github.com/richfelker/mxclient/archive/$_commitid.tar.gz"
builddir="$srcdir/"mxclient-$_commitid

build() {
	make
}

package() {
	mkdir -p $pkgdir/usr/bin
	make DESTDIR=$pkgdir bindir=/usr/bin install
}

sha512sums="
7674975630312bbff07a07d9d6bf66fc18df5ef5acb0d690b25d8c15b741df4fc9d128334ab5491b66d345f0816342d00e62aaaa5364e583dd3513cd47585a3e  mxclient-0_git20211002.tar.gz
"
